package cn.mily.basics.utils;

import lombok.Data;

@Data
public class JsonResult {/*操作信息返回*/
    private Boolean success = true;
    private String msg = "操作成功";
    private Object resultObj;

    public JsonResult(String msg) {
        this.success = false;
        this.msg = msg;
    }

    public JsonResult() {
    }

    public void setFileUrl(String url) {
        this.resultObj = url;
    }
}
